Skip to content

Add fake payment API#33

Open
FeeeeelixWong wants to merge 1 commit into
tscircuit:mainfrom
FeeeeelixWong:codex/fake-payment-api
Open

Add fake payment API#33
FeeeeelixWong wants to merge 1 commit into
tscircuit:mainfrom
FeeeeelixWong:codex/fake-payment-api

Conversation

@FeeeeelixWong
Copy link
Copy Markdown

/claim #1

Summary

  • add in-memory fake payment records with sent/completed/canceled/failed statuses
  • add send/list/get/complete/cancel payment endpoints with idempotency-key deduplication
  • document payment endpoints and add route tests for sends, filters, retries, completion, and cancellation

Verification

  • bun test
  • bunx biome check lib/db/schema.ts lib/db/db-client.ts routes/payments tests/routes/payments/send.test.ts README.md
  • bun run build
  • bunx tsc --noEmit
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant